﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="/themes/default/easyui.css" rel="stylesheet" />
    <link href="/themes/icon.css" rel="stylesheet" />
    <script src="/jquery-easyui-1.4.3/jquery.min.js"></script>
    <script src="/jquery-easyui-1.4.3/jquery.easyui.min.js"></script>
    <script src="/scripts/validatebox.js"></script>
</head>
<body>
    <table>
        <tr>
            <td>新增会员卡类别:</td>
            <td><input id="txtVipLevel" type="text" /></td>
        </tr>
        <tr>
            <td>所需最大积分:</td>
            <td><input id="txtMaxIntegral" type="text" /></td>
        </tr>
        <tr>
            <td>兑换比例:</td>
            <td><input id="txtConvertProportion" type="text" /></td>
        </tr>
        <tr>
            <td>折扣比例:</td>
            <td><input id="txtDiscountProportion" type="text" /></td>

        </tr>
        <tr>
            <td></td>
            <td><input id="btnUpdate" type="button" value="修改" /></td>

        </tr>
    </table>
    <script type="text/javascript">
        $(function ()
        {
            $("#btnUpdate").click(function ()
            {
                $("#txtVipLevel").validatebox({
                    required: true,
                    validType: 'currency'
                });
                $("#txtMaxIntegral").validatebox({
                    required: true,

                });
                $("#txtConvertProportion").validatebox({
                    required: true,

                });


                $("#txtDiscountProportion").validatebox({
                   required: true,
                   validType: 'currency'
                });

            })


        })

    </script>
</body>

</html>
